package dao;

import beans.EmployeeInfo;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface EmployeeInfoDao {

    List<EmployeeInfo> selectList();

    List<EmployeeInfo> selectSelective(@Param(value="selectText")String selectText, @Param(value="inputText")String inputText);

    int deleteByPrimaryKey(Integer employeeId);

    int insert(EmployeeInfo record);

    int insertSelective(EmployeeInfo record);

    EmployeeInfo selectByPrimaryKey(Integer employeeId);

    int updateByPrimaryKeySelective(EmployeeInfo record);

    int updateByPrimaryKey(EmployeeInfo record);

    int count();
}